export default [
    {
        path: '/',
        component: () => import('../views/Index.vue'),
        meta: { keepAlive: false, title: '营销管理' },
        redirect: '/home',
        children: [
            {
                path: '/coupon/list',
                name: 'couponList',
                component: () => import('@/views/coupon'),
                meta: { title: '优惠券管理' }
            },
            {
                path: '/sale/receive',
                name: 'comboscen',
                component: () => import('@/views/combo/scen/index.vue'),
                meta: { keepAlive: false, title: '扫码领券活动' }
            },
            {
                path: '/sale/grade',
                name: 'combograde',
                component: () => import('@/views/combo/grade/index.vue'),
                meta: { keepAlive: false, title: '等级活动' }
            },
            {
                path: '/sale/score',
                name: 'comboscore',
                component: () => import('@/views/combo/score/index.vue'),
                meta: { keepAlive: false, title: '积分活动' }
            },
            {
                path: '/sale/invitetion',
                name: 'saleInvite',
                component: () => import('@/views/combo/invite/index.vue'),
                meta: { keepAlive: false, title: '邀请' }
            },
            {
                path: '/sala/register',
                name: 'saleRegister',
                component: () => import('@/views/combo/register/index.vue'),
                meta: { keepAlive: false, title: '注册活动' }
            },
        ]
      },
    ]
